package cp3120.net;

import cp3120.model.User;
import generic.net.Peer;

/**
 *
 * @author Adam Scarr <scarr.adam@gmail.com>
 */
public class AirportPeer extends Peer {
    private User user;

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public String toString() {
        return user == null ? "null" : user.getUsername();
    }

}
